package shangzhuan;

public class PrintDemo {

	public static void main(String[] args) {
		Shape shape1=new Circle(320,520,3.25);
		Shape shape2=new Rect(20,20,42.5,51.6);
		Shape shape3=new Triangle(300,300,22.5,12.9,19.7);
		
		shape1.draw();
		shape2.draw();
		shape3.draw();
		System.out.println();
		
		Printer.printShape(shape1);
		Printer.printShape(shape2);
		Printer.printShape(shape3);
	}

}
